-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(duplication): prevent plog files from being removed by GC while they are being checked by duplication #1597
Conversation
@ninsmiracle Thanks for the contribution! This pull request mention "slog" but I didn't see how does slog been operated in the patch, could you please describe the relationship? Thanks! |
In my opinion, this PR should called "plog gc crash",however in our inside gitlab repository,this commit called this name.I guess it's may be related to old version Slog ? But I'm not familiar with old version pegasus. So could I change the PR's name? |
Feel free to rename. |
What problem does this PR solve?
#1596
What is changed and how does it work?
Using an atomic member to prevent plog files from being removed by GC
when the plog files are being checked by duplication.
Tests
-cluster test